.settingsContainer {
  min-height: 100vh;
  background: #fafafa;
  padding: 20px;
}

.settingsWrapper {
  max-width: 800px;
  margin: 0 auto;
}

.settingsHeader {
  margin-bottom: 32px;
}

.headerTop {
  margin-bottom: 16px;
}

.backButton {
  color: #666;
  font-size: 14px;
  padding: 4px 8px;
  height: auto;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.backButton:hover {
  color: #1677ff;
  background: rgba(22, 119, 255, 0.06);
}

.pageTitle {
  margin: 0 0 8px 0 !important;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 28px;
}

.settingsContent {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.settingsTabs {
  border: none;
}

.settingsTabs .ant-tabs-nav {
  background: #f8f9fa;
  margin: 0;
  padding: 0 24px;
  border-bottom: 1px solid #e8e8e8;
}

.settingsTabs .ant-tabs-tab {
  padding: 16px 20px;
  font-weight: 500;
  color: #666;
  border: none;
  background: transparent;
  margin-right: 8px;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
}

.settingsTabs .ant-tabs-tab:hover {
  color: #1677ff;
  background: rgba(22, 119, 255, 0.06);
}

.settingsTabs .ant-tabs-tab-active {
  background: white !important;
  color: #1677ff !important;
  border-bottom: 2px solid white;
  margin-bottom: -1px;
}

.settingsTabs .ant-tabs-ink-bar {
  display: none;
}

.settingsTabs .ant-tabs-content-holder {
  padding: 0;
}

.tabContent {
  padding: 32px;
}

/* 个人信息部分 */
.profileSection {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
}

.avatarContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.avatar {
  border: 2px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatarUploader .ant-upload {
  border: none;
  background: transparent;
  box-shadow: none;
}

.userInfo {
  flex: 1;
}

.userName {
  margin: 0 0 4px 0 !important;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 600;
}

.userEmail {
  font-size: 14px;
  color: #666;
}

/* 表单样式 */
.form {
  max-width: 100%;
}

.form .ant-form-item {
  margin-bottom: 20px;
}

.form .ant-form-item-label > label {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 14px;
}

.form .ant-input,
.form .ant-input-password,
.form .ant-select-selector {
  height: 40px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  transition: all 0.2s ease;
}

.form .ant-input:focus,
.form .ant-input-password:focus,
.form .ant-select:focus .ant-select-selector {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
}

.submitButton {
  height: 40px;
  border-radius: 8px;
  font-weight: 500;
  padding: 0 24px;
  background: #1677ff;
  border: none;
  transition: all 0.2s ease;
}

.submitButton:hover {
  background: #4096ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

/* 章节标题 */
.sectionHeader {
  margin-bottom: 24px;
}

.sectionHeader h4 {
  margin: 0 0 4px 0 !important;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
}

.sectionHeader .ant-typography {
  color: #666;
  font-size: 14px;
}

/* 通知设置部分 */
.notificationSection {
  margin: 24px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.notificationSection .ant-typography {
  color: #1a1a1a;
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
}

.switchItem {
  margin-bottom: 16px !important;
}

.switchItem .ant-form-item-control-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switchItem .ant-switch {
  background-color: #bfbfbf;
}

.switchItem .ant-switch-checked {
  background-color: #1677ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .settingsContainer {
    padding: 16px;
  }
  
  .settingsWrapper {
    max-width: 100%;
  }
  
  .tabContent {
    padding: 20px 16px;
  }
  
  .profileSection {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .settingsTabs .ant-tabs-nav {
    padding: 0 16px;
  }
  
  .settingsTabs .ant-tabs-tab {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* 动画效果 */
.settingsWrapper {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移除不必要的样式 */
.settingsTabs .ant-card {
  border: none;
  box-shadow: none;
}

.settingsTabs .ant-card-body {
  padding: 0;
}

/* 优化选择器样式 */
.form .ant-select-dropdown {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 优化上传按钮样式 */
.avatarContainer button {
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background: white;
  color: #666;
  font-size: 12px;
  height: 32px;
  transition: all 0.2s ease;
}

.avatarContainer button:hover {
  border-color: #1677ff;
  color: #1677ff;
} 